int* twoSum(int* nums, int numsSize, int target, int* returnSize)
{
    int * ret=NULL;
    for (int x=0;x<numsSize;++x)
    {
        for (int y=x+1;y<numsSize;++y) 
        {
            if (nums[x]+nums[y]==target) 
            {
                int* ret =(int*)malloc(sizeof(int) * 2);
                ret[0]=x,ret[1]=y;
                *returnSize=2;
                return ret;
            }
        }
    }
    *returnSize=0;
    return NULL;
}